package test06.xml.file.appenders.common;

import org.apache.log4j.xml.DOMConfigurator;

import test06.xml.file.appenders.admin.SampleAdmin;
import test06.xml.file.appenders.report.SampleReport;

public class TestXMLFileAppendersLogging {

	public static void main(String[] args) {
		SampleAdmin admin = new SampleAdmin();
		SampleReport report = new SampleReport();

		DOMConfigurator.configure("C:/Documents and Settings/"
				+ "Bozhidar Bozhanov/Desktop/installs/eclipse2/workspace/"
				+ "test-logging/src/test06/xml/file/appenders/resources/"
				+ "log4j.xml");

		admin.generateLogInfo();
		report.generateLogInfo();
	}
}
